package com.hk.springsecurity03.controller;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author by 何坤
 * @Classname AdminController
 * @Description TODO
 * @Date 2019/11/28 15:34
 */
@RestController
@RequestMapping(value = "/admin")
public class AdminController {

    @GetMapping("hello")
    public String adminOfHello(){
        return "hello admin";
    }
}
